package com.yang.concurrency.chapter7;

/**
 * @Author: 血魔
 * @Date: Created in 20:22 2021/12/12
 * @Version: $
 */
public class ClientTest {
    public static void main(String[] args) {
        Thread t1 = new Thread("T1") {
            @Override
            public void run() {
                SynchronizedStatic.m1();
            }
        };

        Thread t2 = new Thread("T2") {
            @Override
            public void run() {
                SynchronizedStatic.m2();
            }
        };

        new Thread("T3"){
            @Override
            public void run() {
                SynchronizedStatic.m3();
            }
        }.start();

        t1.start();
        t2.start();
    }

}
